package cn.luckdou.system.service.impl.country_details;

import cn.luckdou.system.model.country_details.CountryDetails;
import cn.luckdou.system.mapper.country_details.CountryDetailsMapper;
import cn.luckdou.system.service.country_details.ICountryDetailsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 国家详情 服务实现类
 * </p>
 *
 * @author Dadou
 * @since 2017-09-06
 */
@Service
public class CountryDetailsServiceImpl extends ServiceImpl<CountryDetailsMapper, CountryDetails> implements ICountryDetailsService {
    @Autowired
    private CountryDetailsMapper countryDetailsMapper;

    @Override
    public CountryDetails selectByCountryId(Long id) {
        return countryDetailsMapper.selectByCountryId(id);
    }
}
